.PHONY:all
all:tcpserver tcpclient
tcpserver:tcpserver.cc
	g++ -o $@ $^ -ljsoncpp
tcpclient:tcpclient.cc
	g++ -o $@ $^ -ljsoncpp
.PHONY:clean
clean:
	rm tcpclient tcpserver